package com.onlinemarket.thrid.domain;

import java.io.Serializable;

import org.springframework.stereotype.Component;

/**
 * 对应supplier(供货商)表
 * 
 * @author LHC 增、查、改
 *
 */
@Component
public class Supplier implements Serializable {
	private static final long serialVersionUID = 1317734299131111026L;
	private int supplier_id;
	private String supplier_name;
	private String supplier_address;
	private String supplier_telephone;
	private String supplier_contact;

	public Supplier() {
	}


	public Supplier(int supplier_id, String supplier_name, String supplier_address, String supplier_telephone,
			String supplier_contact) {
		this.supplier_id = supplier_id;
		this.supplier_name = supplier_name;
		this.supplier_address = supplier_address;
		this.supplier_telephone = supplier_telephone;
		this.supplier_contact = supplier_contact;
	}

	public int getSupplier_id() {
		return supplier_id;
	}

	public void setSupplier_id(int supplier_id) {
		this.supplier_id = supplier_id;
	}

	public String getSupplier_name() {
		return supplier_name;
	}

	public void setSupplier_name(String supplier_name) {
		this.supplier_name = supplier_name;
	}

	public String getSupplier_address() {
		return supplier_address;
	}

	public void setSupplier_address(String supplier_address) {
		this.supplier_address = supplier_address;
	}

	public String getSupplier_telephone() {
		return supplier_telephone;
	}

	public void setSupplier_telephone(String supplier_telephone) {
		this.supplier_telephone = supplier_telephone;
	}

	public String getSupplier_contact() {
		return supplier_contact;
	}

	public void setSupplier_contact(String supplier_contact) {
		this.supplier_contact = supplier_contact;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "Supplier [supplier_id=" + supplier_id + ", supplier_name=" + supplier_name + ", supplier_address="
				+ supplier_address + ", supplier_telephone=" + supplier_telephone + ", supplier_contact="
				+ supplier_contact + "]";
	}

}
